/**
 * 添加分类的类型约束
 */
export interface CategoryInfoModel{
  id: number,
  name:string
}

export type Numberable = undefined | number
// 取一个数组别名
export type CategoryListModel = CategoryInfoModel[]

export interface CategoryIdsModel {
  category1Id: Numberable,
  category2Id: Numberable,
  category3Id: Numberable,
}
export interface CategoryStateModel extends CategoryIdsModel {
  
  category1List: CategoryListModel,
  category2List: CategoryListModel,
  category3List: CategoryListModel
}
